# !/usr/bin/python
# _*_ conding : utf-8 _*_
# FileNmae : zip_compress.py

import zipfile

fp = zipfile.ZipFile( 'py.zip', 'w', zipfile.ZIP_DEFLATED )

fp.write( 'py.ico', 'py1.ico' )

fp.close()